home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgramD2.iso
/
Borland
/
Borland C++ V5.02
/
STDLIB.PAK
/
LIMITS.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-05-06
|
298b
|
17 lines
#include <limits>
using namespace std;
int main()
{
numeric_limits<float> float_info;
if (float_info.is_specialized && float_info.has_infinity)
{
//
// Get value of infinity.
//
float finfinity=float_info.infinity();
}
return 0;
}